home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / drivers / route16.c < prev    next >
C/C++ Source or Header  |  2000-05-04  |  16KB  |  438 lines

  1. /***************************************************************************
  2.  
  3.  Route 16/Stratovox memory map (preliminary)
  4.  
  5.  driver by Zsolt Vasvari
  6.  
  7.  Notes: Route 16 and Stratovox use identical hardware with the following
  8.         exceptions: Stratovox has a DAC for voice.
  9.         Route 16 has the added ability to turn off each bitplane indiviaually.
  10.         This looks like an afterthought, as one of the same bits that control
  11.         the palette selection is doubly utilized as the bitmap enable bit.
  12.  
  13.  CPU1
  14.  
  15.  0000-2fff ROM
  16.  4000-43ff Shared RAM
  17.  8000-bfff Video RAM
  18.  
  19.  I/O Read
  20.  
  21.  48xx IN0 - DIP Switches
  22.  50xx IN1 - Input Port 1
  23.  58xx IN2 - Input Port 2
  24.  
  25.  I/O Write
  26.  
  27.  48xx OUT0 - D0-D4 color select for VRAM 0
  28.              D5    coin counter
  29.  50xx OUT1 - D0-D4 color select for VRAM 1
  30.              D5    VIDEO I/II (Flip Screen)
  31.  
  32.  I/O Port Write
  33.  
  34.  6800 AY-8910 Write Port
  35.  6900 AY-8910 Control Port
  36.  
  37.  
  38.  CPU2
  39.  
  40.  0000-1fff ROM
  41.  4000-43ff Shared RAM
  42.  8000-bfff Video RAM
  43.  
  44.  I/O Write
  45.  
  46.  2800      DAC output (Stratovox only)
  47.  
  48.  ***************************************************************************/
  49.  
  50. #include "driver.h"
  51.  
  52. extern unsigned char *route16_sharedram;
  53. extern unsigned char *route16_videoram1;
  54. extern unsigned char *route16_videoram2;
  55. extern size_t route16_videoram_size;
  56.  
  57. void init_route16(void);
  58. void init_route16b(void);
  59. void init_stratvox(void);
  60. void route16_vh_convert_color_prom(unsigned char *palette, unsigned short *colortable,const unsigned char *color_prom);
  61. int  route16_vh_start(void);
  62. void route16_vh_stop(void);
  63. WRITE_HANDLER( route16_out0_w );
  64. WRITE_HANDLER( route16_out1_w );
  65. WRITE_HANDLER( route16_videoram1_w );
  66. WRITE_HANDLER( route16_videoram2_w );
  67. READ_HANDLER( route16_videoram1_r );
  68. READ_HANDLER( route16_videoram2_r );
  69. WRITE_HANDLER( route16_sharedram_w );
  70. READ_HANDLER( route16_sharedram_r );
  71. void route16_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
  72. WRITE_HANDLER( stratvox_sn76477_w );
  73.  
  74. static struct MemoryReadAddress cpu1_readmem[] =
  75. {
  76.     { 0x0000, 0x2fff, MRA_ROM },
  77.     { 0x4000, 0x43ff, route16_sharedram_r },
  78.     { 0x4800, 0x4800, input_port_0_r },
  79.     { 0x5000, 0x5000, input_port_1_r },
  80.     { 0x5800, 0x5800, input_port_2_r },
  81.     { 0x8000, 0xbfff, route16_videoram1_r },
  82.     { -1 }  /* end of table */
  83. };
  84.  
  85. static struct MemoryWriteAddress cpu1_writemem[] =
  86. {
  87.     { 0x0000, 0x2fff, MWA_ROM },
  88.     { 0x4000, 0x43ff, route16_sharedram_w, &route16_sharedram },
  89.     { 0x4800, 0x4800, route16_out0_w },
  90.     { 0x5000, 0x5000, route16_out1_w },
  91.     { 0x8000, 0xbfff, route16_videoram1_w, &route16_videoram1, &route16_videoram_size },
  92.     { 0xc000, 0xc000, MWA_RAM }, // Stratvox has an off by one error
  93.                                  // when clearing the screen
  94.     { -1 }  /* end of table */
  95. };
  96.  
  97.  
  98. static struct IOWritePort cpu1_writeport[] =
  99. {
  100.     { 0x6800, 0x6800, AY8910_write_port_0_w },
  101.     { 0x6900, 0x6900, AY8910_control_port_0_w },
  102.     { -1 }  /* end of table */
  103. };
  104.  
  105. static struct MemoryReadAddress cpu2_readmem[] =
  106. {
  107.     { 0x0000, 0x1fff, MRA_ROM },
  108.     { 0x4000, 0x43ff, route16_sharedram_r },
  109.     { 0x8000, 0xbfff, route16_videoram2_r },
  110.     { -1 }  /* end of table */
  111. };
  112.  
  113. static struct MemoryWriteAddress cpu2_writemem[] =
  114. {
  115.     { 0x0000, 0x1fff, MWA_ROM },
  116.     { 0x2800, 0x2800, DAC_0_data_w }, // Not used by Route 16
  117.     { 0x4000, 0x43ff, route16_sharedram_w },
  118.     { 0x8000, 0xbfff, route16_videoram2_w, &route16_videoram2 },
  119.     { 0xc000, 0xc1ff, MWA_NOP }, // Route 16 sometimes writes outside of
  120.     { -1 }  /* end of table */   // the video ram. (Probably a bug)
  121. };
  122.  
  123.  
  124. INPUT_PORTS_START( route16 )
  125.     PORT_START      /* DSW 1 */
  126.     PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
  127.     PORT_DIPSETTING(    0x00, "3" )
  128.     PORT_DIPSETTING(    0x01, "5" )
  129.     PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) ) // Doesn't seem to
  130.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )                    // be referenced
  131.     PORT_DIPSETTING(    0x02, DEF_STR( On ) )
  132.     PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) // Doesn't seem to
  133.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )                    // be referenced
  134.     PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  135.     PORT_DIPNAME( 0x18, 0x00, DEF_STR( Coinage ) )
  136.     PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
  137.     PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  138.     PORT_DIPSETTING(    0x10, DEF_STR( 1C_2C ) )
  139. //    PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) ) // Same as 0x08
  140.     PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
  141.     PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
  142.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  143.     PORT_DIPNAME( 0x40, 0x00, DEF_STR( Flip_Screen ) )
  144.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  145.     PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  146.     PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  147.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  148.     PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  149.  
  150.     PORT_START      /* Input Port 1 */
  151.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  152.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY )
  153.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY )
  154.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY )
  155.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  156.     PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  157.     PORT_SERVICE( 0x40, IP_ACTIVE_HIGH )
  158.     PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  159.  
  160.     PORT_START      /* Input Port 2 */
  161.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
  162.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
  163.     PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
  164.     PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
  165.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  166.     PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  167.     PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START2 )
  168.     PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START1 )
  169. INPUT_PORTS_END
  170.  
  171.  
  172.  
  173. INPUT_PORTS_START( stratvox )
  174.     PORT_START      /* IN0 */
  175.     PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
  176.     PORT_DIPSETTING(    0x00, "3" )
  177.     PORT_DIPSETTING(    0x01, "5" )
  178.     PORT_DIPNAME( 0x02, 0x00, "Replenish Astronouts" )
  179.     PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  180.     PORT_DIPSETTING(    0x02, DEF_STR( Yes ) )
  181.     PORT_DIPNAME( 0x0c, 0x00, "2 Attackers At Wave" )
  182.     PORT_DIPSETTING(    0x00, "2" )
  183.     PORT_DIPSETTING(    0x04, "3" )
  184.     PORT_DIPSETTING(    0x08, "4" )
  185.     PORT_DIPSETTING(    0x0c, "5" )
  186.     PORT_DIPNAME( 0x10, 0x00, "Astronauts Kidnapped" )
  187.     PORT_DIPSETTING(    0x10, "Less Often" )
  188.     PORT_DIPSETTING(    0x00, "More Often" )
  189.     PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
  190.     PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
  191.     PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  192.     PORT_DIPNAME( 0x40, 0x00, DEF_STR( Flip_Screen ) )
  193.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  194.     PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  195.     PORT_DIPNAME( 0x80, 0x00, "Demo Voices" )
  196.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  197.     PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  198.  
  199.     PORT_START      /* IN1 */
  200.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  201.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY )
  202.     PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
  203.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  204.     PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  205.     PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN2 )
  206.     PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  207.  
  208.     PORT_START      /* IN2 */
  209.     PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  210.     PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER2 )
  211.     PORT_BIT( 0x0c, IP_ACTIVE_HIGH, IPT_UNUSED )
  212.     PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  213.     PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  214.     PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START2 )
  215.     PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START1 )
  216. INPUT_PORTS_END
  217.  
  218.  
  219. static struct AY8910interface ay8910_interface =
  220. {
  221.     1,    /* 1 chip */
  222.     10000000/8,     /* 10Mhz / 8 = 1.25Mhz */
  223.     { 50 },
  224.     { 0 },
  225.     { 0 },
  226.     { stratvox_sn76477_w },  /* SN76477 commands (not used in Route 16?) */
  227.     { 0 }
  228. };
  229.  
  230.  
  231. static struct SN76477interface sn76477_interface =
  232. {
  233.     1,    /* 1 chip */
  234.     { 50 },  /* mixing level   pin description         */
  235.     { RES_K( 47)   },        /*    4  noise_res         */
  236.     { RES_K(150)   },        /*    5  filter_res         */
  237.     { CAP_U(0.001) },        /*    6  filter_cap         */
  238.     { RES_M(3.3)   },        /*    7  decay_res         */
  239.     { CAP_U(1.0)   },        /*    8  attack_decay_cap  */
  240.     { RES_K(4.7)   },        /* 10  attack_res         */
  241.     { RES_K(200)   },        /* 11  amplitude_res     */
  242.     { RES_K( 55)   },        /* 12  feedback_res      */
  243.     { 5.0*2/(2+10) },        /* 16  vco_voltage         */
  244.     { CAP_U(0.022) },        /* 17  vco_cap             */
  245.     { RES_K(100)   },        /* 18  vco_res             */
  246.     { 5.0           },        /* 19  pitch_voltage     */
  247.     { RES_K( 75)   },        /* 20  slf_res             */
  248.     { CAP_U(1.0)   },        /* 21  slf_cap             */
  249.     { CAP_U(2.2)   },        /* 23  oneshot_cap         */
  250.     { RES_K(4.7)   }        /* 24  oneshot_res         */
  251. };
  252.  
  253.  
  254. static struct DACinterface dac_interface =
  255. {
  256.     1,
  257.     { 50 }
  258. };
  259.  
  260.  
  261. #define MACHINE_DRIVER(GAMENAME, AUDIO_INTERFACES)           \
  262.                                                             \
  263. static struct MachineDriver machine_driver_##GAMENAME =        \
  264. {                                                            \
  265.     /* basic machine hardware */                            \
  266.     {                                                        \
  267.         {                                                    \
  268.             CPU_Z80 | CPU_16BIT_PORT,                        \
  269.             2500000,    /* 10Mhz / 4 = 2.5Mhz */            \
  270.             cpu1_readmem,cpu1_writemem,0,cpu1_writeport,    \
  271.             interrupt,1                                        \
  272.         },                                                    \
  273.         {                                                    \
  274.             CPU_Z80,                                        \
  275.             2500000,    /* 10Mhz / 4 = 2.5Mhz */            \
  276.             cpu2_readmem,cpu2_writemem,0,0,                    \
  277.             ignore_interrupt,0                                \
  278.         }                                                    \
  279.     },                                                        \
  280.     57, DEFAULT_REAL_60HZ_VBLANK_DURATION,       /* frames per second, vblank duration */ \
  281.     1,                                                        \
  282.     0,                                                        \
  283.                                                             \
  284.     /* video hardware */                                    \
  285.     256, 256, { 0, 256-1, 0, 256-1 },                        \
  286.     0,                                                        \
  287.     8, 0,                                                    \
  288.     route16_vh_convert_color_prom,                            \
  289.                                                             \
  290.     VIDEO_TYPE_RASTER | VIDEO_SUPPORTS_DIRTY | VIDEO_MODIFIES_PALETTE, \
  291.     0,                                                        \
  292.     route16_vh_start,                                        \
  293.     route16_vh_stop,                                        \
  294.     route16_vh_screenrefresh,                                \
  295.                                                             \
  296.     /* sound hardware */                                    \
  297.     0,0,0,0,                                                \
  298.     {                                                        \
  299.         AUDIO_INTERFACES                                    \
  300.     }                                                        \
  301. };
  302.  
  303. #define ROUTE16_AUDIO_INTERFACE  \
  304.         {                         \
  305.             SOUND_AY8910,         \
  306.             &ay8910_interface     \
  307.         }
  308.  
  309. #define STRATVOX_AUDIO_INTERFACE \
  310.         {                         \
  311.             SOUND_AY8910,         \
  312.             &ay8910_interface     \
  313.         },                         \
  314.         {                         \
  315.             SOUND_SN76477,         \
  316.             &sn76477_interface     \
  317.         },                       \
  318.         {                        \
  319.             SOUND_DAC,             \
  320.             &dac_interface         \
  321.         }
  322.  
  323. MACHINE_DRIVER(route16,  ROUTE16_AUDIO_INTERFACE )
  324. MACHINE_DRIVER(stratvox, STRATVOX_AUDIO_INTERFACE)
  325.  
  326. /***************************************************************************
  327.  
  328.   Game driver(s)
  329.  
  330. ***************************************************************************/
  331.  
  332. ROM_START( route16 )
  333.     ROM_REGION( 0x10000, REGION_CPU1 )  // 64k for the first CPU
  334.     ROM_LOAD( "route16.a0",   0x0000, 0x0800, 0x8f9101bd )
  335.     ROM_LOAD( "route16.a1",   0x0800, 0x0800, 0x389bc077 )
  336.     ROM_LOAD( "route16.a2",   0x1000, 0x0800, 0x1065a468 )
  337.     ROM_LOAD( "route16.a3",   0x1800, 0x0800, 0x0b1987f3 )
  338.     ROM_LOAD( "route16.a4",   0x2000, 0x0800, 0xf67d853a )
  339.     ROM_LOAD( "route16.a5",   0x2800, 0x0800, 0xd85cf758 )
  340.  
  341.     ROM_REGION( 0x10000, REGION_CPU2 )  // 64k for the second CPU
  342.     ROM_LOAD( "route16.b0",   0x0000, 0x0800, 0x0f9588a7 )
  343.     ROM_LOAD( "route16.b1",   0x0800, 0x0800, 0x2b326cf9 )
  344.     ROM_LOAD( "route16.b2",   0x1000, 0x0800, 0x529cad13 )
  345.     ROM_LOAD( "route16.b3",   0x1800, 0x0800, 0x3bd8b899 )
  346.  
  347.     ROM_REGION( 0x0200, REGION_PROMS )
  348.     /* The upper 128 bytes are 0's, used by the hardware to blank the display */
  349.     ROM_LOAD( "pr09",         0x0000, 0x0100, 0x08793ef7 ) /* top bitmap */
  350.     ROM_LOAD( "pr10",         0x0100, 0x0100, 0x08793ef7 ) /* bottom bitmap */
  351. ROM_END
  352.  
  353. ROM_START( route16b )
  354.     ROM_REGION( 0x10000, REGION_CPU1 )  // 64k for the first CPU
  355.     ROM_LOAD( "rt16.0",       0x0000, 0x0800, 0xb1f0f636 )
  356.     ROM_LOAD( "rt16.1",       0x0800, 0x0800, 0x3ec52fe5 )
  357.     ROM_LOAD( "rt16.2",       0x1000, 0x0800, 0xa8e92871 )
  358.     ROM_LOAD( "rt16.3",       0x1800, 0x0800, 0xa0fc9fc5 )
  359.     ROM_LOAD( "rt16.4",       0x2000, 0x0800, 0x6dcaf8c4 )
  360.     ROM_LOAD( "rt16.5",       0x2800, 0x0800, 0x63d7b05b )
  361.  
  362.     ROM_REGION( 0x10000, REGION_CPU2 )  // 64k for the second CPU
  363.     ROM_LOAD( "rt16.6",       0x0000, 0x0800, 0xfef605f3 )
  364.     ROM_LOAD( "rt16.7",       0x0800, 0x0800, 0xd0d6c189 )
  365.     ROM_LOAD( "rt16.8",       0x1000, 0x0800, 0xdefc5797 )
  366.     ROM_LOAD( "rt16.9",       0x1800, 0x0800, 0x88d94a66 )
  367.  
  368.     ROM_REGION( 0x0200, REGION_PROMS )
  369.     /* The upper 128 bytes are 0's, used by the hardware to blank the display */
  370.     ROM_LOAD( "pr09",         0x0000, 0x0100, 0x08793ef7 ) /* top bitmap */
  371.     ROM_LOAD( "pr10",         0x0100, 0x0100, 0x08793ef7 ) /* bottom bitmap */
  372. ROM_END
  373.  
  374. ROM_START( stratvox )
  375.     ROM_REGION( 0x10000, REGION_CPU1 )     /* 64k for code */
  376.     ROM_LOAD( "ls01.bin",     0x0000, 0x0800, 0xbf4d582e )
  377.     ROM_LOAD( "ls02.bin",     0x0800, 0x0800, 0x16739dd4 )
  378.     ROM_LOAD( "ls03.bin",     0x1000, 0x0800, 0x083c28de )
  379.     ROM_LOAD( "ls04.bin",     0x1800, 0x0800, 0xb0927e3b )
  380.     ROM_LOAD( "ls05.bin",     0x2000, 0x0800, 0xccd25c4e )
  381.     ROM_LOAD( "ls06.bin",     0x2800, 0x0800, 0x07a907a7 )
  382.  
  383.     ROM_REGION( 0x10000, REGION_CPU2 )     /* 64k for the second CPU */
  384.     ROM_LOAD( "ls07.bin",     0x0000, 0x0800, 0x4d333985 )
  385.     ROM_LOAD( "ls08.bin",     0x0800, 0x0800, 0x35b753fc )
  386.  
  387.     ROM_REGION( 0x0200, REGION_PROMS )
  388.     /* The upper 128 bytes are 0's, used by the hardware to blank the display */
  389.     ROM_LOAD( "pr09",         0x0000, 0x0100, 0x08793ef7 ) /* top bitmap */
  390.     ROM_LOAD( "pr10",         0x0100, 0x0100, 0x08793ef7 ) /* bottom bitmap */
  391. ROM_END
  392.  
  393. ROM_START( stratvxb )
  394.     ROM_REGION( 0x10000, REGION_CPU1 )     /* 64k for code */
  395.     ROM_LOAD( "ls01.bin",     0x0000, 0x0800, 0xbf4d582e )
  396.     ROM_LOAD( "ls02.bin",     0x0800, 0x0800, 0x16739dd4 )
  397.     ROM_LOAD( "ls03.bin",     0x1000, 0x0800, 0x083c28de )
  398.     ROM_LOAD( "ls04.bin",     0x1800, 0x0800, 0xb0927e3b )
  399.     ROM_LOAD( "ls05.bin",     0x2000, 0x0800, 0xccd25c4e )
  400.     ROM_LOAD( "a5-1",         0x2800, 0x0800, 0x70c4ef8e )
  401.  
  402.     ROM_REGION( 0x10000, REGION_CPU2 )     /* 64k for the second CPU */
  403.     ROM_LOAD( "ls07.bin",     0x0000, 0x0800, 0x4d333985 )
  404.     ROM_LOAD( "ls08.bin",     0x0800, 0x0800, 0x35b753fc )
  405.  
  406.     ROM_REGION( 0x0200, REGION_PROMS )
  407.     /* The upper 128 bytes are 0's, used by the hardware to blank the display */
  408.     ROM_LOAD( "pr09",         0x0000, 0x0100, 0x08793ef7 ) /* top bitmap */
  409.     ROM_LOAD( "pr10",         0x0100, 0x0100, 0x08793ef7 ) /* bottom bitmap */
  410. ROM_END
  411.  
  412. ROM_START( speakres )
  413.     ROM_REGION( 0x10000, REGION_CPU1 )     /* 64k for code */
  414.     ROM_LOAD( "speakres.1",   0x0000, 0x0800, 0x6026e4ea )
  415.     ROM_LOAD( "speakres.2",   0x0800, 0x0800, 0x93f0d4da )
  416.     ROM_LOAD( "speakres.3",   0x1000, 0x0800, 0xa3874304 )
  417.     ROM_LOAD( "speakres.4",   0x1800, 0x0800, 0xf484be3a )
  418.     ROM_LOAD( "speakres.5",   0x2000, 0x0800, 0x61b12a67 )
  419.     ROM_LOAD( "speakres.6",   0x2800, 0x0800, 0x220e0ab2 )
  420.  
  421.     ROM_REGION( 0x10000, REGION_CPU2 )     /* 64k for the second CPU */
  422.     ROM_LOAD( "speakres.7",   0x0000, 0x0800, 0xd417be13 )
  423.     ROM_LOAD( "speakres.8",   0x0800, 0x0800, 0x52485d60 )
  424.  
  425.     ROM_REGION( 0x0200, REGION_PROMS )
  426.     /* The upper 128 bytes are 0's, used by the hardware to blank the display */
  427.     ROM_LOAD( "pr09",         0x0000, 0x0100, 0x08793ef7 ) /* top bitmap */
  428.     ROM_LOAD( "pr10",         0x0100, 0x0100, 0x08793ef7 ) /* bottom bitmap */
  429. ROM_END
  430.  
  431.  
  432.  
  433. GAME( 1981, route16,  0,        route16,  route16,  route16,  ROT270, "Tehkan/Sun (Centuri license)", "Route 16" )
  434. GAME( 1981, route16b, route16,  route16,  route16,  route16b, ROT270, "bootleg", "Route 16 (bootleg)" )
  435. GAME( 1980, stratvox, 0,        stratvox, stratvox, stratvox, ROT270, "Taito", "Stratovox" )
  436. GAME( 1980, stratvxb, stratvox, stratvox, stratvox, stratvox, ROT270, "bootleg", "Stratovox (bootleg)" )
  437. GAME( ????, speakres, stratvox, stratvox, stratvox, stratvox, ROT270, "<unknown>", "Speak & Rescue" )
  438.